package com.ssm.dao;

import com.ssm.bean.Account;

import java.util.List;

/**
 * 账户的持久层
 */
public interface IAccountDao {

    //查询所有用户
    public List<Account> findAll();

    //根据用户id，查询账户信息
    public List<Account> getAccountByUserId(Integer uid);
}
